
from .api_detail import ApiDetail

from flask import Flask, request, Blueprint

from . import app_detail

@app_detail.route('/detail/<int:ID>', methods=['GET', 'PUT'])
    
def detail(ID):

    methods = request.method

    openid = request.args.get('openid')

    with ApiDetail() as conn_api:

        result_info = conn_api.detail(methods, ID, openid)

    return result_info


    